﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using System.ServiceModel;
using System.Diagnostics;
using Microsoft.Phone.Tasks;

namespace QuickTasks.Views
{
    public partial class QuickMessagesDetails : PhoneApplicationPage
    {
        public QuickMessagesDetails()
        {
            InitializeComponent();
        }

        private void togsthType_Checked(object sender, RoutedEventArgs e)
        {
            togsthType.Content = "Email";
            TblkName.Text = "EmailId";
        }

        private void togsthType_Unchecked(object sender, RoutedEventArgs e)
        {
            togsthType.Content = "Sms";
            TblkName.Text = "MobileNumber";
        }

        private void ApplicationBarsaveButton_Click(object sender, EventArgs e)
        {
            if (TbxMessage.Text != "")
            {
                txtMessageValidation.Visibility = Visibility.Collapsed;

             }
            
            else
            {
                txtMessageValidation.Visibility = Visibility.Visible;
            }

        }

       
    }
}